﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.JointVariableLimitsEditor.CApJVLEditorViewModel_ListChangedEventArgs
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System;


namespace DnProcessSimulateCommands.JointVariableLimitsEditor;

internal sealed class CApJVLEditorViewModel_ListChangedEventArgs : EventArgs
{
  public readonly CApJVLEditorViewModel_ListChangedType ListChangedType;
  public readonly int NewIndex;
  public readonly int OldIndex;

  public CApJVLEditorViewModel_ListChangedEventArgs(
    CApJVLEditorViewModel_ListChangedType listChangedType,
    int newIndex)
  {
    this.ListChangedType = listChangedType;
    this.NewIndex = newIndex;
    this.OldIndex = -1;
  }

  public CApJVLEditorViewModel_ListChangedEventArgs(
    CApJVLEditorViewModel_ListChangedType listChangedType,
    int newIndex,
    int oldIndex)
  {
    this.ListChangedType = listChangedType;
    this.NewIndex = newIndex;
    this.OldIndex = oldIndex;
  }

  private CApJVLEditorViewModel_ListChangedEventArgs()
  {
  }
}
